package jpb.util;

/**
 * Created by haol on 2017/4/29.
 */
public class AnaUrlUtil {

        public static String getId(String prefix,String url){
                String[] strings = url.split("/");
                for (int i = 0;i<strings.length;i++){
                        if (strings[i].equals(prefix)){
                                return strings[i+1];
                        }
                }
                return "";
        }
}
